<div class="row">
	<div class="col-md-12">
		<!-- Custom Tabs -->
		<div class="nav-tabs-custom">
			<ul class="nav nav-tabs">
				<li>
					<a href="<?php echo base_url();?>jobseekers/welcome"> Welcome</a>
				</li>
				<li>
					<a href="<?php echo base_url(); ?>jobseekers/profile"> View</a>
				</li>
				<li>
					<a href="<?php echo base_url(); ?>jobseekers/edit-profile">Modify</a>
				</li>
				<li class="active">
					<a href="<?php echo base_url(); ?>jobseekers/job-preferences">Job Preferences</a>
				</li>

				<li class="dropdown pull-right">
					<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="glyphicon glyphicon-user"/></i> <?php echo $username; ?>
					<span class="caret"></span> </a>
					<ul class="dropdown-menu">
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>jobseekers/change-picture">Change Picture</a>
						</li>
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>jobseekers/change-password">Change Password</a>
						</li>
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>jobseekers/view-profile">Profile</a>
						</li>
						<li role="presentation" class="divider"></li>
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>jobseekers/logout">Logout</a>
						</li>
					</ul>
				</li>
				
			</ul>
			<div class="tab-content">
				<div class="tab-pane active" id="tab_1">

					<div class="box box-primary">
						<div class="box-header">
							<h4 class="box-title"><span style="color:#3C8DBC !important;"> <i class="fa fa-fw fa-envelope"></i> Preferred job categories, locations and brief description of the role you are seeking</span></h4>
						</div>

						<!-- the events -->
						<div id="external-events">
							<form role="form" class="remove-box-border" method="post" action="<?php echo base_url(); ?>jobseekers/job-preferences">
								<div class="box-body">
									<div class="form-group">
										<label for="briefly_description">Briefly describe yourself and the type of role you are seeking: </label>
										<textarea class="form-control" name="briefly_description" rows="7" id="briefly_description"><?php echo $briefly_desc -> row() -> briefly_description; ?></textarea>
									</div>

									<div class="box box-primary">
										<div class="box-header">
											<h4 class="box-title"><span style="color:#3C8DBC !important;">Preferred Job Locations:</span></h4>
										</div>

										<div class="box-body">
											<div class="row">
												<?php
												echo $locations;
												?>
											</div>
										</div>

									</div>

									<div class="box box-primary">
										<div class="box-header">
											<h4 class="box-title"><span style="color:#3C8DBC !important;">Preferred job categories :</span></h4>
										</div>

										<div class="box-body">
											<div class="row">
												<?php
												echo $categories;
												?>
											</div>
										</div>

									</div>
								</div>
								<div class="box-footer">
									<input type="hidden" name="job_preferences" value="1" />
									<div class="">
										<button class="btn btn-primary" type="submit">
											<i class="fa fa-fw fa-save"></i> Save
										</button>
									</div>
								</div>
							</form>

						</div><!-- /.box-body -->

					</div><!-- /. end facebook fan page -->
				</div><!-- /.tab-pane -->
			</div><!-- /.tab-content -->
		</div><!-- nav-tabs-custom -->
	</div><!-- /.col -->
</div>
